php curl pass user:password

45

php curl pass user:password -

curl_setopt($ch, CURLOPT_USERPWD, "$username:$password");
curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);

Comments

Submit
0 Comments